package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 流程实例主表
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
public class BdpWfActionMaster extends Model<BdpWfActionMaster> {

    private static final long serialVersionUID=1L;

    /**
     * 审批流执行ID
     */
    @TableId("ACTION_ID")
    private String actionId;

    /**
     * 审批流程实例名称
     */
    @TableField("ACTION_NAME")
    private String actionName;

    /**
     * 审批流
     */
    @TableField("FLOW_ID")
    private String flowId;

    /**
     * 当前审批节点标识
     */
    @TableField("CURRENT_NODE_ID")
    private String currentNodeId;

    /**
     * 单据表的主键值
     */
    @TableField("AUDIT_OBJECT_KEY")
    private String auditObjectKey;

    /**
     * BDP_WF_BILL_KIND的主键值
     */
    @TableField("AUDIT_OBJECT_KIND_ID")
    private String auditObjectKindId;

    /**
     * BDP_WF_AUDIT_STATE表的主键值
            0 未审核 
            1 审核未通过 
            2 审核通过 
            3 审核中
            
     */
    @TableField("AUDIT_STATUS")
    private String auditStatus;

    /**
     * True
            False
     */
    @TableField("END_FLAG")
    private Integer endFlag;

    /**
     * PrivUser的主键值
     */
    @TableField("SUBMIT_PERSON")
    private String submitPerson;

    /**
     * 提交日期
     */
    @TableField("SUBMIT_DATE")
    private LocalDateTime submitDate;

    /**
     * 公司
     */
    @TableField("INNER_COMPANY_ID")
    private String innerCompanyId;

    /**
     * 创建人
     */
    @TableField("INNER_CREATOR_ID")
    private String innerCreatorId;

    /**
     * 创建时间
     */
    @TableField("INNER_CREATE_TIME")
    private LocalDateTime innerCreateTime;

    /**
     * 删除标志
     */
    @TableField("INNER_DELETE_FLAG")
    private Integer innerDeleteFlag;

    /**
     * 流程参数
     */
    @TableField("FLOW_PARAM")
    private String flowParam;


    public String getActionId() {
        return actionId;
    }

    public BdpWfActionMaster setActionId(String actionId) {
        this.actionId = actionId;
        return this;
    }

    public String getActionName() {
        return actionName;
    }

    public BdpWfActionMaster setActionName(String actionName) {
        this.actionName = actionName;
        return this;
    }

    public String getFlowId() {
        return flowId;
    }

    public BdpWfActionMaster setFlowId(String flowId) {
        this.flowId = flowId;
        return this;
    }

    public String getCurrentNodeId() {
        return currentNodeId;
    }

    public BdpWfActionMaster setCurrentNodeId(String currentNodeId) {
        this.currentNodeId = currentNodeId;
        return this;
    }

    public String getAuditObjectKey() {
        return auditObjectKey;
    }

    public BdpWfActionMaster setAuditObjectKey(String auditObjectKey) {
        this.auditObjectKey = auditObjectKey;
        return this;
    }

    public String getAuditObjectKindId() {
        return auditObjectKindId;
    }

    public BdpWfActionMaster setAuditObjectKindId(String auditObjectKindId) {
        this.auditObjectKindId = auditObjectKindId;
        return this;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public BdpWfActionMaster setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
        return this;
    }

    public Integer getEndFlag() {
        return endFlag;
    }

    public BdpWfActionMaster setEndFlag(Integer endFlag) {
        this.endFlag = endFlag;
        return this;
    }

    public String getSubmitPerson() {
        return submitPerson;
    }

    public BdpWfActionMaster setSubmitPerson(String submitPerson) {
        this.submitPerson = submitPerson;
        return this;
    }

    public LocalDateTime getSubmitDate() {
        return submitDate;
    }

    public BdpWfActionMaster setSubmitDate(LocalDateTime submitDate) {
        this.submitDate = submitDate;
        return this;
    }

    public String getInnerCompanyId() {
        return innerCompanyId;
    }

    public BdpWfActionMaster setInnerCompanyId(String innerCompanyId) {
        this.innerCompanyId = innerCompanyId;
        return this;
    }

    public String getInnerCreatorId() {
        return innerCreatorId;
    }

    public BdpWfActionMaster setInnerCreatorId(String innerCreatorId) {
        this.innerCreatorId = innerCreatorId;
        return this;
    }

    public LocalDateTime getInnerCreateTime() {
        return innerCreateTime;
    }

    public BdpWfActionMaster setInnerCreateTime(LocalDateTime innerCreateTime) {
        this.innerCreateTime = innerCreateTime;
        return this;
    }

    public Integer getInnerDeleteFlag() {
        return innerDeleteFlag;
    }

    public BdpWfActionMaster setInnerDeleteFlag(Integer innerDeleteFlag) {
        this.innerDeleteFlag = innerDeleteFlag;
        return this;
    }

    public String getFlowParam() {
        return flowParam;
    }

    public BdpWfActionMaster setFlowParam(String flowParam) {
        this.flowParam = flowParam;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.actionId;
    }

    @Override
    public String toString() {
        return "BdpWfActionMaster{" +
        "actionId=" + actionId +
        ", actionName=" + actionName +
        ", flowId=" + flowId +
        ", currentNodeId=" + currentNodeId +
        ", auditObjectKey=" + auditObjectKey +
        ", auditObjectKindId=" + auditObjectKindId +
        ", auditStatus=" + auditStatus +
        ", endFlag=" + endFlag +
        ", submitPerson=" + submitPerson +
        ", submitDate=" + submitDate +
        ", innerCompanyId=" + innerCompanyId +
        ", innerCreatorId=" + innerCreatorId +
        ", innerCreateTime=" + innerCreateTime +
        ", innerDeleteFlag=" + innerDeleteFlag +
        ", flowParam=" + flowParam +
        "}";
    }
}
